package com.entity;

/**
 * @author 20x
 * @date 2024 - 12 -10
 **/
public class guardians {
    private String guardiansId;// 主键
    private String Gindex;// 索引
    private String name;// 姓名
    private String sex;// 性别
    private String age;//年龄
    private String phone;// 联系方式
    private String avatar;// 头像
    private String spend;//消费总额
    private String pervLogin;//最近登录

    private String regDate;//注册时间

    public guardians() {
    }

//    public guardians(String name, String phone,String spend,String regDate,String pervLogin) {
//        this.name = name;
//        this.phone = phone;
//        this.spend = spend;
//        this.regDate = regDate;
//        this.pervLogin = pervLogin;
//    }
    public guardians(String name, String sex, String age, String phone, String avatar) {
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.phone = phone;
        this.avatar = avatar;
    }
    public guardians(String guardiansId, String gindex, String name, String sex, String age, String phone, String avatar, String spend, String pervLogin,String regDate) {
        this.guardiansId = guardiansId;
        Gindex = gindex;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.phone = phone;
        this.avatar = avatar;
        this.spend = spend;
        this.pervLogin = pervLogin;
        this.regDate = regDate;
    }

    public String getGuardiansId() {
        return guardiansId;
    }

    public void setGuardiansId(String guardiansId) {
        this.guardiansId = guardiansId;
    }

    public String getGindex() {
        return Gindex;
    }

    public void setGindex(String gindex) {
        Gindex = gindex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getSpend() {
        return spend;
    }

    public void setSpend(String spend) {
        this.spend = spend;
    }

    public String getPervLogin() {
        return pervLogin;
    }

    public void setPervLogin(String pervLogin) {
        this.pervLogin = pervLogin;
    }

    public String getRegDate() {
        return regDate;
    }

    public void setRegDate(String regDate) {
        this.regDate = regDate;
    }

    @Override
    public String toString() {
        return "guardians{" +
                "guardiansId='" + guardiansId + '\'' +
                ", Gindex='" + Gindex + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age='" + age + '\'' +
                ", phone='" + phone + '\'' +
                ", avatar='" + avatar + '\'' +
                ", spend='" + spend + '\'' +
                ", pervLogin='" + pervLogin + '\'' +
                ", regDate='" + regDate + '\'' +
                '}';
    }
}
